package org.chenjian.portal80.service;

import org.chenjian.portal80.dao.CarDao;
import org.chenjian.portal80.model.TheCar;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarServiceImpl implements CarService{

    @Autowired
    CarDao carDao;
    public List<TheCar> getAllCar() {
        return carDao.getAllCar();
    }
}
